Edit Triggered Action Properties

To edit the properties of a Triggered Action:

  1. Select Rules from the top navigation bar, then select Triggered Actions from the side navigation menu. The Triggered Actions screen is displayed.

  2. Optionally, search for the desired Triggered Action (see Search for a Triggered Action for more information on the available search options).

  3. Optionally, expand a Trigger Group by clicking the Expand icon next to its name.

  4. Next to the desired Triggered Action, click the Edit icon. The Edit Trigger tabbed modal is displayed.

  1. The Edit Trigger modal is split into multiple tabs. Select the desired tab and enter the desired configuration options. See below for details on these tabs, and the options available in each.

  2. Optionally, click Next to save your changes and display the next tab in the sequence.

Note: When you attempt to navigate to a new tab, the platform evaluates the information on the current tab. If any information is invalid or missing, an error message is displayed.

  1. When finished, click Close (or click Save on the Status & Effectivity tab).

Basic Information

The Basic Information tab displays the high-level properties of the Triggered Action. To edit any of the properties:

  1. Select the Basic Information tab.

  2. The following properties are displayed. Make any necessary changes:

    • Display Name: The user-facing name of the Triggered Action.

    • Internal Name: The internal name of the Triggered Action. To edit the Internal Name, check Edit Internal Name. A confirmation dialog box is displayed; click Ok. Edit the Internal Name value.

    • Description: The description of the Triggered Action.

    • Cloned From: If this Triggered Action was created by copying another Triggered Action, the name of the “parent” Triggered Action is displayed. If that parent Triggered Action still exists, you can click this link to switch the Edit Trigger modal to show the parent’s details. If the parent Triggered Action has been deleted, the link is disabled. The Cloned From field will show only the immediate parent. For example, if you make a copy of a copy, the Cloned From field will show the immediate parent, and not the “grandparent.”

    • Trigger Grouping: The Trigger Group to which this Triggered Action is assigned.

    • Trigger Type: The action or behavior for which this Triggered Action is monitoring.

    • Trigger Definition: This section varies depending on the selected Trigger Type (see below for details).

 

 

Conditions & Expressions

The Conditions & Expressions tab is used to define the conditions for the Triggered Action. A Triggered Action will execute only if the conditions are met. The use of conditions in a Triggered Action is optional.

A condition consists of one or more logical statements (called Rules) joined with logical operators (AND / OR). A Triggered Action can optionally include multiple conditions.

To define the conditions for a Triggered Action:

  1. Select the Conditions & Expression tab.

  2. Click the Add icon, then select Add Rule. The platform adds a new blank row. 

  3. The first drop-down menu is populated with all of the different object types in Loyalty that are available for use. From this drop-down menu, select one of the following object types to expand it and see the available options:

 

  1. Repeat the above steps as needed to define more Rules. Optionally, to remove a Rule, click the Remove icon next to it.

  2. Once you define more than one Rule, select the logical operator from the Include customers that meet drop-down menu: 

    • All of the following: Use an 'AND' operator such that all Rules must be true for a record to be selected. 

    • Some of the following: Use an 'OR' operator such that at least one of the Rules must be true for a record to be selected.

  3. Optionally, you can also organize Rules into Rule Groups. A Rule Group allows you to build more complex selection criteria. To create a Rule Group, click the Add icon, then select Add Rule Group. The platform creates a Group, which is represented visually as a nested box with its own operator and Add icon. Within this Group box, click the Add icon to define the Rule (or Rules) using the same process as described above. Use the toggle within the Group box to define the logical operator for the Rules within the Group.

Note: By clicking the Group button inside the Group box, you can create "nested" groups.

  1. As you define Rules through the user interface, the platform builds a Groovy expression. To see this Groovy Expression, click Show Expression. The Show Expression pop-up window is displayed. When finished, click Close.

  2. Optionally, to delete a condition, click Remove Condition.

  3. Optionally, to define another condition, click Add Condition and repeat the above steps. Multiple conditions are always joined with an AND operator.

Actions & Settings

When the trigger definition occurs, and if the conditions are satisfied (if applicable), the platform will execute a selected action. This action is defined on the Action & Settings tab.

Note: Only one action can be assigned to a Triggered Action. If you need the platform to perform multiple actions, you need to define separate Triggered Actions for each one. You can then use Trigger Groups to control the relationship between those different Triggered Actions.

To identify what action the platform should execute:

  1. Select the Action & Settings tab.

  2. From the Action Type drop-down menu, select the desired action. The Loyalty platform supports a wide range of actions, such as sending a message, granting an Reward, or updating a Member Attribute. See Action Types for more details.

  3. Depending on the action type you selected above, the modal displays additional properties that you must enter or select in order to configure the action. For example, if you selected Grant Award, you will be prompted to select the desired Reward to grant. Or, if you selected Update Attribute, you will be prompted to pick the Attribute, and enter its new value.

Most action types support the use of custom parameters. To add custom parameters to the selected action:

  1. In the Custom Parameters section, click Add. The platform adds a new row for defining a key / value pair.

  2. By default the custom parameter is enabled. Optionally, uncheck Enabled to disable it.

  3. In the Name field, enter the name of the parameter.

  4. In the Value field, either:

    • Check Static, then enter a value.

    • Uncheck Static, then enter a Groovy calculated function to select or derive a value. See Calculation Functions for a list of commonly-used functions.

  1. Repeat the above steps as needed to define additional custom parameters. Optionally, to delete a custom parameter, click the Delete icon next to it.

Status & Effectivity

The Status & Effectivity tab allows you to set the Triggered Action status, and to define when, and for how long, the Triggered Action is considered live and usable.

To set the Triggered Action’s status:

  1. Select the Status & Effectivity tab.

  2. From the Status drop-down menu, select the status of the Triggered Action: Draft, Published, or Archived.

To set the Triggered Action’s effectivity period:

  1. Select the Status & Effectivity tab.

  2. Next to Effectivity, select either:

    • Always: This Triggered Action doesn't expire.

    • Scheduled: Enter a start date and end date, and select a time zone. Optionally, check Recurring to use a recurring schedule. Select the desired schedule from the Recurring Schedule drop-down menu, or define a new recurring schedule (see below for details on that process).

Recurring Schedule

To define a new recurring schedule:

  1. From the Recurring Schedule drop down menu, select Enter Schedule. The Repeat pop-up window is displayed.

  2. From the Count drop-down menu, select a recurrence frequency of either Weekly or Monthly.

  3. In the text field, enter the interval. Enter 1 if you want the schedule to run every week, or every month.

  4. For a Weekly frequency, select one or more days of the week. For example, Tuesdays and Thursdays.

  5. For a Monthly frequency, choose one of the following options:

    • Day of month: Select one or more days of the month. For example, the 15th and the 30th.

    • Day of week: Select one or more days of the week, for each of the four weeks within a month. For example, the second Wednesday of the month.

  1. Click Confirm. The system adds the new schedule to the Recurring Schedule drop-down menu.